package com.group3.pojo.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.group3.domain.File;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName ShowWorkResult
 * @Author jt-sinlio
 * @Time 2021/7/13 20:42
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShowWorkResult {
    @ApiModelProperty(value = "作业Id")
    private Integer workId;

    @ApiModelProperty(value = "作业主题")
    private String workTheme;

    @ApiModelProperty(value = "计划完成时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date completionTime;

    @ApiModelProperty(value = "作业下发时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

    @ApiModelProperty(value = "课程")
    private String lessonName;

    @ApiModelProperty(value = "作业类型")
    private Integer type;

    @ApiModelProperty(value = "小组名称")
    private List<String> groupsName;

    @ApiModelProperty(value = "小组Id")
    private List<Integer> groupsId;

    @ApiModelProperty(value = "学生名称")
    private List<String> studentsName;

    @ApiModelProperty(value = "学生学号")
    private List<String> studentsNo;

    @ApiModelProperty(value = "作业内容")
    private String content;

    @ApiModelProperty(value = "附件列表")
    private List<File> files;
}
